home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 October / CD CHIP.ISO / WebServ / folkweb / REGVIEW.H_ < prev    next >
Encoding:
Text File  |  1995-08-25  |  1.2 KB  |  51 lines

  1. // regview.h : interface of the CRegView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CRegView : public CView
  6. {
  7. protected: // create from serialization only
  8.     DECLARE_DYNCREATE(CRegView)
  9.  
  10. // Attributes
  11. public:
  12.     CRegView();
  13.     CRegDoc* GetDocument();
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Overrides
  19.     // ClassWizard generated virtual function overrides
  20.     //{{AFX_VIRTUAL(CRegView)
  21.     public:
  22.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  23.     protected:
  24.     //}}AFX_VIRTUAL
  25.  
  26. // Implementation
  27. public:
  28.     virtual ~CRegView();
  29. #ifdef _DEBUG
  30.     virtual void AssertValid() const;
  31.     virtual void Dump(CDumpContext& dc) const;
  32. #endif
  33.  
  34. protected:
  35.  
  36. // Generated message map functions
  37. protected:
  38.     //{{AFX_MSG(CRegView)
  39.         // NOTE - the ClassWizard will add and remove member functions here.
  40.         //    DO NOT EDIT what you see in these blocks of generated code !
  41.     //}}AFX_MSG
  42.     DECLARE_MESSAGE_MAP()
  43. };
  44.  
  45. #ifndef _DEBUG  // debug version in regview.cpp
  46. inline CRegDoc* CRegView::GetDocument()
  47.    { return (CRegDoc*)m_pDocument; }
  48. #endif
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51.